package com.nie.orderfood.VO;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @program: orderfood
 * @description: http请求返回商品类别对象
 * @author: NieMiao
 * @create: 2018-10-08 14:41
 **/
public class ProductVO {

    @JsonProperty("name")
    private String categoryName;

    @JsonProperty("type")
    private Integer categoryType;

    @JsonProperty("foods")
    private List<ProductInfoVO> products;

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Integer getCategoryType() {
        return categoryType;
    }

    public void setCategoryType(Integer categoryType) {
        this.categoryType = categoryType;
    }

    public List<ProductInfoVO> getProducts() {
        return products;
    }

    public void setProducts(List<ProductInfoVO> products) {
        this.products = products;
    }
}
